/*
 * @Descripttion:
 * @version:
 * @Author: yuanpingfang
 * @Date: 2022-07-16 22:51:06
 * @LastEditors: yuanpingfang
 * @LastEditTime: 2022-07-23 11:53:40
 */
import request from "@/utils/request";

// 查询审批单配置列表
export function listBusi_form_config(query) {
  return request({
    url: "/approve/busi_form_config/list",
    method: "get",
    params: query,
  });
}

// 查询审批单配置详细
export function getBusi_form_config(configId) {
  return request({
    url: "/approve/busi_form_config/" + configId,
    method: "get",
  });
}

// 新增审批单配置
export function addBusi_form_config(data) {
  return request({
    url: "/approve/busi_form_config",
    method: "post",
    data: data,
  });
}

// 修改审批单配置
export function updateBusi_form_config(data) {
  return request({
    url: "/approve/busi_form_config",
    method: "put",
    data: data,
  });
}

// 删除审批单配置
export function delBusi_form_config(configId) {
  return request({
    url: "/approve/busi_form_config/" + configId,
    method: "delete",
  });
}
